package com.esc.service;

import com.esc.mapper.PinpaiMapper;
import com.esc.model.Pinpai;
import com.esc.server.PinpaiServiceApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class PinpaiServiceImpl implements PinpaiServiceApi {

    @Autowired
    private PinpaiMapper pinpaiMapper;

    @Override
    public List<Pinpai> queryPinpaiList() {
        return pinpaiMapper.queryPinpaiList();
    }
}
